import Layout from '@/layout'

export default {
  path: '/employees', // 员工
  component: Layout,
  children: [
    {
      path: '',
      name: 'Employees',
      component: () => import('@/views/employees'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: 'detail',
      name: 'detail',
      component: () => import('@/views/employees/detail.vue'),
      // 左侧导航源码是否展示子路由是由hidden控制的
      hidden: true // 当有两个及以上的二级路由时,如果不想页面左侧导航栏展示两个及以上子导航,则将hidden设置为true
    }
  ]
}
